﻿// License: http://www.codeplex.com/entlibcontrib/Project/License.aspx
// Author: Randy

using System;

namespace EntLibContrib.Logging.Parser
{
    /// <summary>
    /// Generic Interface the parsing the time stamp text from a log file.
    /// </summary>
    public interface ITimeStampParser
    {
        /// <summary>
        /// Parse the time stamp text from a log file.
        /// </summary>
        /// <param name="stringTime">time stamp text</param>
        /// <returns>date and time</returns>
        DateTime ParseTimeStamp(string stringTime);
    }
}
